/**
 * 
 */
package com.eshopper.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author Arun Kumar Nov 19, 2014
 *
 */
@Controller
public class BaseController {

	@RequestMapping(value = "/", method = RequestMethod.GET)
	public ModelAndView homePage() {
		return new ModelAndView("home-tiles");
	}
	
	@RequestMapping(value = "/index", method = RequestMethod.GET)
	public ModelAndView indexPage() {
		return new ModelAndView("home-tiles");
	}
	
	@RequestMapping(value = "/shop", method = RequestMethod.GET)
	public ModelAndView productsPage() {
		return new ModelAndView("products-tiles");
	}

}
